/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.myself.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.myself.entity.DemoInfo;
import com.thinkgem.jeesite.modules.myself.dao.DemoInfoDao;

/**
 * 公司信息Service
 * @author 大暑
 * @version 2019-09-23
 */
@Service
@Transactional(readOnly = true)
public class DemoInfoService extends CrudService<DemoInfoDao, DemoInfo> {

	public DemoInfo get(String id) {
		return super.get(id);
	}
	
	public List<DemoInfo> findList(DemoInfo demoInfo) {
		return super.findList(demoInfo);
	}
	
	public Page<DemoInfo> findPage(Page<DemoInfo> page, DemoInfo demoInfo) {
		return super.findPage(page, demoInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(DemoInfo demoInfo) {
		super.save(demoInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(DemoInfo demoInfo) {
		super.delete(demoInfo);
	}
	
}